<?php

use backend\assets\AppAsset;
use yii\helpers\Html;
use yii\helpers\Url;
?>
	<div class="sidebar-menu">
		
			
		<header class="logo-env">
			
			<!-- logo -->
			<div class="logo">
				<a href="/">
					<img src="/statics/images/logo.png" alt="" />
				</a>
			</div>
			
			
		</header>
				
		
				
		<ul id="main-menu" class="">
			<li class="<?php if(Yii::$app->controller->id == 'site'){echo 'active';}?> <?php if(Yii::$app->controller->id == 'site' && Yii::$app->controller->action->id == 'index'){echo 'opened';}?>">
				<a href="index.html">
					<i class="entypo-gauge"></i>
					<span>下拉样例</span>
				</a>
				<ul>
					<li class="<?php if(Yii::$app->controller->id == 'site' && Yii::$app->controller->action->id == 'index'){echo 'active';}?>">
						<a href="/">
							<span>连接样例 1</span>
						</a>
					</li>
					<li>
						<a href="/">
							<span>连接样例 2</span>
						</a>
					</li>
				</ul>
			</li>
			<li class="">
				<a href="index.html">
					<i class="entypo-gauge"></i>
					<span>下拉样例</span>
				</a>
				<ul>
					<li class="">
						<a href="/">
							<span>连接样例 1</span>
						</a>
					</li>
					<li>
						<a href="/">
							<span>连接样例 2</span>
						</a>
					</li>
				</ul>
			</li>
			<li>
				<a href="/">
					<i class="entypo-chart-bar"></i>
					<span>连接样例</span>
				</a>
			</li>
			<li class="<?php if(Yii::$app->controller->id == 'pass'){echo 'active';}?> <?php if(Yii::$app->controller->id == 'pass' && Yii::$app->controller->action->id == 'update'){echo 'opened';}?>">
				<a href="index.html">
					<i class="entypo-gauge"></i>
					<span>权限管理</span>
				</a>
				<ul>
					<li class="<?php if(Yii::$app->controller->id == 'pass' && Yii::$app->controller->action->id == 'update'){echo 'active';}?>">
						<a href="<?=Url::to(['pass/update'])?>">
							<span>修改密码</span>
						</a>
					</li>
				</ul>
			</li>
		</ul>
				
				
	</div>	
